package com.study.demo.gsbean.anno;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author: elvin
 * @time: 2019-08-19 11:15
 * @desc:
 **/
public class Start {
    public static void main(String[] args){
        AnnotationConfigApplicationContext ac = new AnnotationConfigApplicationContext(Config.class);
        User bean = ac.getBean(User.class);
        System.out.println(bean);
    }
}
